package o;

import com.huawei.appgallery.foundation.account.bean.UserSession;

public class dbx {
    private static dbx ˋ;
    private int ˏ = 0;

    private dbx() {
    }

    public static dbx ˏ() {
        synchronized (dbx.class) {
            if (ˋ == null) {
                ˋ = new dbx();
            }
        }
        return ˋ;
    }

    public boolean ॱ() {
        boolean z = true;
        if (UserSession.getInstance().isUserMinor()) {
            return false;
        }
        if (this.ˏ != 1) {
            z = false;
        }
        return z;
    }

    public void ˊ(int i) {
        this.ˏ = i;
    }
}
